#include <my_header.h>

/* Usage:  */
int main(void){
    char buf[1024] = { 0 };
    // 用文件描述符0表示从标准输入读
    // 0:stdin 1:stdout 2:stderr
    ssize_t sret = read(0, buf, sizeof(buf));
    ERROR_CHECK(sret, -1, "sret");  //sret:status return
    printf("sret = %ld, buf =%s\n", sret, buf);
    return 0;
}


